
.banner .carousel-indicators li{
    background-color: #07D0DA;
    /*width: .6rem;*/
    /*height: .03rem;*/
    opacity: 0.2;
}
.banner .carousel-indicators .active{
    opacity: 1;
}
/*//轮播图*/
h5,.banner p{
    font-size: .48rem;
    font-weight: 700;
    /*color:  #1093AA;*/
    text-shadow: 5px 5px 5px black;
    font-family: 楷体;
}
/*搜索框*/
.search_box{
    position: absolute;
    border-radius: .5rem;
    right: .2rem;
    bottom:.2rem;
    width: 3.5rem;
    height: .4rem;
    background-color: rgba(255,255,255,.7);
    z-index: 100;
    box-shadow: 0 0 .1rem .03rem #09C0CD;
    /*line-height: .4rem;*/
}
/*搜索图标*/

.search_box input{
    font-family: 宋体;
    border: 0;
    margin-left: .2rem;
    padding-right: .1rem;
    background: none;
    font-size: .15rem;
    height: .4rem;
    width: 3rem;
    color: gray;
    position: absolute;
    top: 0;
}
.search_box .icon-search{
    position: absolute;
    top: .07rem;
    cursor: pointer;
}
.icon-search:before{
    color: gray;
    opacity: 0.5;
    font-size: .2rem;
}
.d3{
    left: 0;
}
.d3 h5{
    margin-bottom: .2rem;
}
.d3 p{
    font-size: .32rem;
}
.d4 h5{
    margin-bottom: .2rem;
}
.d4 p,.d4 h5{
    font-size: .68rem;
    color: rgb(255,194,64);
    text-shadow: 5px 5px 15px rgb(255, 186, 0);
}
.banner{
    width: 11.9rem;
    margin: 0 auto;
    font-size: .24rem;
    box-shadow: 0 .02rem .02rem .02rem #f7f7f7 ;
    transition: height 2s,width 2s;
}
.banner .banner_2 {
    width: 100%;
    height: 4.5rem;
}
.banner img{
    width: 100%;
    height: 100%;
}
.banner_bac{
    position: absolute;
    filter:blur(8px);
    top: 0;
    opacity: 0;
    /*height: 8rem!important;*/
}
.banner .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(7,218,208)' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e");
}
.banner .carousel-control-next-icon{
    /*box-shadow: red 0 0 4px;*/
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(7,218,208)' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
}
/*热销书购买*/
.hot_book{
    margin: .3rem auto;
    width: 11.9rem;
    /*height: 2rem;*/
    box-sizing: border-box;
    font-size: .16rem;
    background-color: #fff;
    box-shadow: 0 0 .02rem .02rem #f7f7f7 ;
    transition: opacity 1s;
    /*清除bootstrap带来的影响*/
    /*margin: 0;*/
    padding: 0;
}

.hot_book p:first-child{
    font-family: 黑体;
    font-size: .2rem;
    text-indent:.1rem;
}
.hot_book ul{
    /*消除bootstrap中row类带来的影响*/
    margin-left: 0;
    margin-right: 0;
    /*overflow: hidden;*/
}
.hot_book ul li{
    width: 1.1rem;
    height: 1.8rem;
    /*float: left;*/
    margin: .05rem .193rem;
    box-shadow: -.01rem .01rem .02rem .01rem rgba(0,0,0,.5);
    padding: 0;
}
.hot_book ul li:hover{
    transition: margin-top .3s;
    margin-top: -.02rem;
    box-shadow: -.01rem .01rem .03rem .02rem rgba(0,0,0,.5);
    z-index: 999;
}
.hot_book ul li a{
    display: block;
    width: 100%;
    height: 100%;
}
.hot_book ul li a img{
    width: 100%;
    height: 1.5rem;
    border-radius: 5px;
}
.hot_book ul li a p{
    display: block;
    margin-top: .02rem;
    font-size: .01rem;
    height: .3rem;
    text-align: center;
    color: #1093AA;
    /*overflow: hidden;*/
    white-space:nowrap;
    overflow:hidden;
    line-height: .3rem;
    text-overflow: ellipsis;
}
/*类别*/
.category{
    width: 11.9rem;
    margin:  .2rem auto;
    box-sizing: border-box;
    box-shadow: 0 0 .02rem .02rem #f7f7f7 ;
    background-color: #ffffff;
}
.category ul{
    width: 11.2rem;
    margin: 0 auto;
}
.category ul li:nth-child(2){
    margin-left: .35rem;
    margin-right: .35rem;
}
.category ul li{
    list-style: none;
    margin-top: .2rem;
    margin-bottom: .2rem;
    display: block;
    float: left;
    width: 3.5rem;
    height: 1.3rem;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.2rem;
    background-color: #09C0CD;
    font-size: .80rem;
    border-radius: .02rem;
    box-shadow: 0 .02rem .02rem 0 rgba(0,0,0,.5);
    cursor: pointer;
    /*transition: all .5s;*/
}
.category ul span{
    display: none;
    opacity: 0;
    transition: all 1s;
    width: .4rem;
    height: .5rem;
    /*background-color: #09C0CD;*/
    /*border-radius: 50%;*/
    margin: 0 auto;
}
.category ul span img{
    width: 100%;
    height: 100%;
    display: block;
}
.category ul li:hover{
    box-shadow: 0 .02rem .05rem .02rem rgba(0,0,0,.5);
    /*margin-top: .18rem;*/
    transform:scale(1.03);
    transition: all .4s;
}
.category ul li a{
    transition: all 1s;
    display: block;
    width: 100%;
    height: 100%;
    font-family: 楷体;
    color: #f7f7f7;
}
.category ul li a:hover{
    text-decoration:none
}
/*类别_书*/
.category_books{
    box-shadow: 0 0 .02rem .02rem #f7f7f7 ;
    width: 11.9rem;
    box-sizing: border-box;
    margin: .3rem auto;
    font-size: .15rem;
    /*background-color: #ffffff;*/
}

.category_books .category_name{
    width: 11.9rem;
    height: .6rem;
    box-sizing: border-box;
    /*border-bottom: 1px solid black;*/
    background-color: #fff;
}
.category_books  .category_name h3{
    margin: 0 auto;
    width: 2.75rem;
    color: #1093AA;
    font-family: 楷体;
    line-height: .6rem;
    font-size: .36rem;
    text-align: center;
}
.category_books .category_name h3::after,
.category_books .category_name h3::before{
    font-family: "iconfont" !important;
    content: "\e666";
    display: inline-block;
    line-height: .3rem;
    width: .3rem;
    height: .3rem;
    font-size: .26rem;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.category_books .category_name h3::before{
    content: "\e667";
}

.category_books .book{
    width: 11.9rem;
    /*height: 4.8rem;*/
    box-sizing: border-box;
    background-color: #fff;
    border-top: .01rem solid #f7f7f7;
}
.category_books .book aside{
    width: 2.1rem;
    height: 100%;
    float: left;
    /*border-right: 1px solid black;*/
    box-sizing: border-box;
}
.category_books .book aside h3{
    font-family: 楷体;
    color: #1093AA;
    font-size: .25rem;
    margin: .05rem 0;
}
.category_books .book aside hr{
    width: 1.5rem;
    margin-bottom: .15rem;
}
.category_books .book aside a{
    display: block;
    margin: 0 auto;
    width: 1.25rem;
    height: 1.5rem;
    margin-bottom: .1rem;
}
.category_books .book aside a:hover{
    transform: scale(1.02);
    transition: all 0.5s;
}
.category_books .book aside img{
    display: block;
    width: 100%;
    height: 100%;
    box-shadow: -0.01rem 0.01rem 0.02rem 0.01rem rgba(0,0,0,.5)
}
.category_books .book aside .title{
    text-align: center;
    color: #0795aa;
    margin-bottom: .15rem;
    font-size: .14rem;
    font-weight: 700;
}
.category_books .book aside p:last-child{
    padding: 0 .1rem;
    font-family: 楷体;
    color: #1093AA;
    font-size: .12rem;
    margin-bottom: .05rem;
    /*兼容性问题*/
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 12;
    overflow: hidden;
}
.category_books .book .line{
    float: left;
    width: .01rem;
    margin-top: .22rem;
    height: 4rem;
    /*background-color: #fcf8e3;*/
    /*box-shadow: 0 0 2px 2px #f7f7f7 ;*/
}
.category_books .book .box{
    float: left;
    width: 9.78rem;
    height: 5rem;
    padding: .6rem .3rem .3rem .3rem;
}
.category_books .book .box .box_book{
    width: 100%;
    height: 100%;
}

.box_book ul{
    margin: .05rem .05rem .15rem .05rem;
}
.box_book ul li{
    float: left;
    width: 1rem;
    height: 2rem;
    margin: 0 .4rem;
    position: relative;
}
.box_book ul li a{
    position: absolute;
    top: .2rem;
    left: .1rem;
    z-index: 999;
    display: block;
    width: .85rem;
    height: 1.25rem;
    transform: rotateY(32deg);
    opacity: .8;
    box-shadow: 0 .05rem .05rem 0 rgba(0,0,0,.5);
}
.box_book ul li a:hover{
    transition: all 1s;
    transform: scale(1.05);
    top: .05rem;
    /*opacity: 1;*/
}
.box_book ul li a:hover .bottom_box{
    background-color: red;
}
.box_book ul li a img{
    width: 100%;
    height: 100%;
}
.box_book ul li a ul{
    width: 100%;
    height: 100%;
    display: none;
    flex-direction:column-reverse;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    background: rgba(0,0,0,.8);

}
.box_book ul li a ul li{
    color: red;
    font-size: .01rem;
    margin: .03rem 0;
    height: auto;
    width: 100%;
}

.box_book ul li a:hover ul{
    display: flex;
}
.box_book ul li span{
    color:white;
    display: block;
    width: 100%;
    text-indent: .05rem;
}
.box_book ul li p{
    font-size: 10px;
    text-indent: .2rem;
}
.bottom_box{
    left: -.23rem;
    top: 1.15rem;
    position: absolute;
    width: 1.5rem;
    height: .8rem;
    opacity: .8;
}
.bottom_box .box_1,.box_2,.box_3{
    position: absolute;
    top: 0;
    left: 0;
    width: 1.5rem;
    height: .8rem;
    background-image: linear-gradient(#f7f7f7,#09C0CD);
    border-radius: 50%;
    transform: rotateX(55deg);
    box-shadow: 0 0 .2rem 0 rgba(9,192,205,.8);
}
.bottom_box .box_2{
    top: .03rem;
    left: .06rem;
    width: 1.4rem;
    height: .7rem;
    /*box-shadow: 0 0 0 0;*/
    opacity: .7;
    background-image: linear-gradient(#f7f7f7,#00ffff,#f7f7f7);
}
.bottom_box .box_3 {
    top: .12rem;
    left: .25rem;
    /*background-color: red;*/
    background-image: linear-gradient(#09C0CD, #00ffff);
    /*box-shadow: 0 0 .1rem .17rem rgba(9,192,205,.8);*/
    width: 1rem;
    height: .5rem;
}

/*活动通告*/
.discount{
    height: 2.4rem;
    background: white;
    padding: 8px;
    margin-top: 10px;
    box-shadow: 0 0 0.02rem 0.02rem #f7f7f7;
    /*cursor: pointer;*/
}
.discount div{
    background: red;
    width: 100%;
    height: 100%;
    position:relative;
}
.discount div span{
    position: absolute;
    display: block;
    width: 65px;
    height: 20px;
    border-radius: 15px;
    background-color: #09C0CD;
    /*background-color: black;*/
    text-align: center;
    line-height: 20px;
    font-size: 11px;
    color: white;
    left: 5px;
    top: 5px;
    font-family: Arial;
}
.discount div a{
    display: block;
    width: 100%;
    height: 100%;
}
.discount div img{
    width: 100%;
    height: 100%;
}
.discount .p1{
    top: 15%;
    color: #1093AA;
    -webkit-text-stroke: 1px #ffffff ;
    font-size: 20px;
    /*font-family: 宋体;*/
}
.discount div p{
    width: 100%;
    position: absolute;
    font-size: 16px;
    color: white;
    -webkit-text-stroke: 1px #09C0CD ;
    /*text-shadow: #09C0CD ;*/
    font-weight: 600;
    text-align: right;
    bottom: 0;
    padding-right: 5px;
}
.discount div p i{
    line-height: 2px;
}
.discount div p strong{
    -webkit-text-stroke: 1px #09C0CD ;
    font-size: 40px;
    font-family: 楷体;
    font-weight: 700;
}
/*今日手机端推荐类型书*/
.td-recommend{
    width: 100%;
    margin-top: 10px;
    background-color: #fff;
    box-shadow: 0 0 0.02rem 0.02rem #f7f7f7;
}
.td-recommend h3{
    font-size: .28rem;
    font-family: Arial;
    text-indent: .2rem;
    color: #333;
    text-align: left;
    line-height: normal;
    padding: 12px 0;
    margin-bottom: 0;
}
.td-recommend ul{
    width: 100%;
    /*margin: 0 auto;*/
    display: flex;
    /*justify-content: space-between;*/
    flex-direction: column;
}
.td-recommend ul li{
    /*width: 1.3rem;*/
    /*margin-top: .5rem;*/
    width: 100%;
    /*height: auto;*/
    height: 3.3rem;
    /*transform: scale(0.8);*/
    padding: 0;
    /*margin-bottom: .2rem;*/
}
.td-recommend ul li a{
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}
.td-recommend ul li a img{
    width: 100%;
    /*height: 100%;*/
    /*height: auto;*/
    height: 2.8rem;
    border-radius: 5px;
}
.td-recommend ul li a p{
    font-weight: 700;
    display: block;
    padding-top: .04rem;
    font-size: .25rem;
    height: .3rem;
    /*text-align: center;*/
    color: #1093AA;
    /* overflow: hidden; */
    /*white-space: nowrap;*/
    /*overflow: hidden;*/
    line-height: .3rem;
    /*text-overflow: ellipsis;*/
}

/*退回分类*/
.return_category{
    position: fixed;
    /*width: 1rem;*/
    /*height: 1rem;*/
    border-radius: 50%;
    bottom: 1rem;
    right: .2rem;
    background-color: rgba(0,255,255,.4);
    box-shadow: 0 0 .15rem .02rem #00ffff;
    animation: return_run 2s  linear infinite alternate;
    transition: opacity 2s;
    display: none;
    opacity: 0;
}
.return_category a{
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    font-size: .24rem;
    line-height: 1rem;
    text-align: center;
    color: #ffffff;
    display: block;
}
.return_category a:hover{
    text-decoration: none;
}
.carousel-inner{
    transition: width 2s!important;
}
.sm{
    display: none;
}
.r-sm{
    /*display: block;*/
    display: none;
}
@keyframes return_run{
    from{}
    to{
        bottom: .3rem;
        box-shadow: 0 0 .3rem .02rem #00ffff;
    }
}
@media (max-width: 1380px) {
    .category_books .book aside p:last-child{
        -webkit-line-clamp: 10;
    }
}
@media (max-width: 1234px) {
    .category_books .book aside p:last-child{
        -webkit-line-clamp: 9;
    }
}
@media (max-width: 1110px) {
    .category_books .book aside p:last-child{
        -webkit-line-clamp: 8;
    }
}
@media (max-width: 1069px) {
    .category_books .book aside p:last-child{
        -webkit-line-clamp: 7;
    }
}
@media (min-width: 576px) {
    .sm{
        display: flex!important;
    }
    .r-sm{
        display: none;
    }
    /*搜索框*/
    .banner .search_box .icon-search{
        right: .15rem;
    }
    /*消除bootstrap给热销带来的影响*/
    .body .container{
        max-width: none;
    }
}
@media (max-width: 440px) {
    h5{
        display: none;
    }
}
@media (max-width: 576px) {
    .bl{
        display: block;
    }
    .none{
        display: none;
    }
    hr{
        display: none;
    }
    h5,.banner p{
        font-size: .3rem;
    }
    .d3{
        left: 60px;
    }
    .d3 p{
        font-size: .2rem;
    }
    .d4 p, .d4 h5{
        font-size: .4rem;
    }
    #carouselExampleCaptions{
        width: 100%;
        /*width: 6.9rem;*/
    }
    .banner .banner_2{
        height: 3.2rem!important;
        position: relative;
        /*margin: 0 auto;*/
    }
    .carousel-inner{
        /*width: 6.9rem!important;*/
        /*margin: 0 auto;*/
    }
    .banner_2 .w-100:nth-child(2n){
        width:90%!important;
        /*margin: 0 auto;*/
        position: absolute;
        height: 2.3rem;
        top: 35px;
        left: 50%;
        margin-left: -45%;
    }
    .banner_bac{
        opacity: 1;
        transition: all 2s;
    }
    /*搜索框*/
    .banner .search_box{
        height: .35rem;
        width: 90%;
        left: 50%;
        margin-left: -45%;
        top: 5px;
        box-shadow: none;
        background-color: rgba(255,255,255,.7);
    }
    .banner .search_box input{
        font-size: 10px;
        height: .35rem;
        margin-left: .4rem;
        width: 90%;
    }
    .banner .search_box .icon-search{
        top: .04rem;
        left: .15rem;
    }
    .banner .search_box .icon-search:before{
        font-size: .14rem;
    }
    input::-webkit-input-placeholder{
        color:gray;
        font-weight: normal;
        font-size: 9px;
    }
    input::-moz-placeholder{   /* Mozilla Firefox 19+ */
        color:gray;
        font-weight: normal;
        font-size: 9px;
    }
    input:-moz-placeholder{    /* Mozilla Firefox 4 to 18 */
        color:gray;
        font-weight: normal;
        font-size: 9px;
    }
    input:-ms-input-placeholder { /* Internet Explorer 10-11 */
        color:gray;
        font-weight: normal;
        font-size: 9px;
    }
    /*轮播选择按钮*/
    .banner .carousel-indicators li{
        width: 6px;
        height: 6px;
        border-radius: 50%;
    }

    /*热销书籍*/
    .hot_book p:first-child{
        font-size: .28rem;
        /*font-weight: 700;*/
        font-family: Arial;
        padding-top: 10px;
        text-indent: .2rem;
    }
    .body .hot_book{
        width: 100%;
        margin: 0;
        padding-bottom: 10px;
    }
    .body .hot_book ul{
        width: 99%;
        margin: 0 auto;
        justify-content: space-around;
        /*overflow: hidden;*/
    }
    .body .hot_book ul li{
        width: 1.3rem;
        /*height: 2.1rem;*/
        transform: scale(0.8);
        box-shadow: none;
        /*margin: 0;*/
        margin: 0 -.05rem;

    }
    .hot_book ul li a img{
        height: 1.7rem;
    }
    .my-col-3:nth-child(8),
    .my-col-3:nth-child(7){
        display: none;
    }
    /*改变bootstrap的col*/
    .body .hot_book .my-col-3{
    }

    /*书籍分类*/
    .category{
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 0;
    }
    .top,.bottom{
        width: 49%;
        float: left;
    }
    .top{
        margin-right: 13px;
    }
    .bottom{
        margin-left: 13px;
    }
    .category ul{
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .category ul li{
        width: 1rem;
        height: .8rem;
        font-size: 13px;
        line-height: .4rem;
        background-color: #fff;
        box-shadow: none;
    }
    .category ul li:hover{
        box-shadow: none;
    }
    .category ul li:nth-child(2){
        margin-left: 0;
        margin-right: 0;
    }
    .category ul li span{
        display: block;
        opacity: 1;
    }
    .category ul li a{
        color: #1093AA;
    }
    .category ul div{
        display: none;
    }

    /*书籍分类的书*/
    .category_books{
        display: none;
    }
}
/*临时修改的热销和分类bug*/
@media (max-width: 399px) {
    /*热销的*/
    .body .hot_book ul{
        /*align-content: flex-start;*/
    }

    .my-col-3:nth-child(6),
    .my-col-3:nth-child(7),
    .my-col-3:nth-child(8){
        display: block!important;
    }
    /*今日推荐的*/
    .td-recommend ul li:nth-child(5){
        /*display: none;*/
    }
    /*今日推荐结束*/
    .hot_book ul li{
        margin: 0 -.05rem;
    }
}
@media (max-width: 450px) {
    .top{
        margin-right: 0!important;
    }
    .bottom{
        margin-left: 0!important;
    }
}
@media (max-width: 467px){
    #category .top{
        margin-right: 5px;
    }
    #category .bottom{
        margin-left: 5px;
    }
}
@media (max-width: 496px) {
    .my-col-3:nth-child(6){
    display: none;
    }
    /*今日推荐的*/
    .td-recommend ul li:nth-child(6){
        /*display: none;*/
    }
    /*今日推荐结束*/
    .category .top{
        margin-right: 7px;
    }
    .category .bottom{
        margin-left: 7px;
    }
}
@media (max-width: 531px) {
    .top{
        margin-right: 10px;
    }
    .bottom{
        margin-left: 10px;
    }
}